﻿using System;
using UnityEngine;

namespace Config
{
    public class ColorSet
    {
        public static readonly Color Primary = new Color(0.94f, 0.93f, 0.91f);
        public static readonly Color Cyan = new Color(0.5f, 0.71f, 0.75f);
        public static readonly Color Blue = new Color(0.45f, 0.57f, 0.73f);
        public static readonly Color Yellow = new Color(0.88f, 0.8f, 0.44f);
        public static readonly Color Green = new Color(0.48f, 0.69f, 0.41f);
        public static readonly Color Red = new Color(0.77f, 0.38f, 0.41f);
        
        public enum Colors
        {
            Cyan,
            Blue,
            Yellow,
            Green,
            Red
        }

        public static Color Color(Colors color)
        {
            switch (color)
            {
                case Colors.Cyan:
                    return Cyan;
                case Colors.Blue:
                    return Blue;
                case Colors.Yellow:
                    return Yellow;
                case Colors.Green:
                    return Green;
                case Colors.Red:
                    return Red;
            }
            return UnityEngine.Color.black;
        }

    }
}